
import Indexador.Tema;
import Indexador.TemasBD;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author loberti
 */
public class PruebaIndexador2 {

    public static void main(String[] args) throws InterruptedException {
         HashMap<String,ArrayList<Tema>> map=TemasBD.leerHashMap();

         Iterator<ArrayList<Tema>> it = map.values().iterator();

         while(it.hasNext())
         {
             ArrayList<Tema> list=it.next();
             for(int i=0;i<list.size();i++)
                 System.out.println("************************\n"+list.get(i)+"\n*****************************");
         }
    }

}
